//
//  MTPartyBaseCell.swift
//  MT
//
//  Created by ooops on 2020/5/29.
//  Copyright © 2020 张强. All rights reserved.
//

import UIKit
import MTCategory

open class MTPartyCancelCell: UITableViewCell {
    
    open class func reuseIdentity() -> String {
        return "MTPartyCancelCellID"
    }
    
    public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        setupUI()
        makeConstraint()
        self.selectionStyle = .none
    }
    
    open func setupUI() {
        contentView.addSubview(nameLabel)
    }
    
    open func makeConstraint() {
        nameLabel.snp.makeConstraints { (make) in
            make.edges.equalToSuperview()
        }
    }
    
    lazy var nameLabel: UILabel = {
        let l = UILabel()
        l.font = PingFangSCMediumFont(14)
        l.textColor = UIColor.text.x1d1a1a
        l.textAlignment = .center
        l.text = "取消"
        return l
    }()
    
    required public init?(coder: NSCoder) {
        super.init(coder: coder)
    }

    override open func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override open func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
